package com.borrowed.book.book.domain;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class SelectPayOrderOutDto {
    @ApiModelProperty(value ="订单号D",dataType = "String",example = "202107021325091000")
    private String orderNo;



    @ApiModelProperty(value ="买家名称",dataType = "String",example = "老王")
    private String buyName;
    @ApiModelProperty(value ="买家电话",dataType = "String",example = "18896959745")
    private String buyPhone;
    @ApiModelProperty(value ="买家地址",dataType = "String",example = "江苏省苏州市工业园区启泰路96号")
    private String buyAddress;
    @ApiModelProperty(value ="付款时间",dataType = "Date")
    private Date payTime;
    @ApiModelProperty(value ="总金额",dataType = "BigDecimal",example = "200")
    private BigDecimal payAmount;
    @ApiModelProperty(value ="租金",dataType = "BigDecimal",example = "150")
    private BigDecimal rentMoney;
    @ApiModelProperty(value ="押金",dataType = "BigDecimal",example = "90")
    private BigDecimal cashPledge;
    @ApiModelProperty(value ="邮费",dataType = "BigDecimal",example = "10")
    private BigDecimal postage;
    @ApiModelProperty(value ="优惠",dataType = "BigDecimal",example = "50")
    private BigDecimal discountsMoney;
    @ApiModelProperty(value ="订单类型,字典：orderType",dataType = "String",example = "1")
    private String orderType;
    @ApiModelProperty(value ="创建时间",dataType = "Date")
    private Date createTime;
    @ApiModelProperty(value ="物流公司名称",dataType = "String")
    private String transportName;
    @ApiModelProperty(value ="物流单号",dataType = "String")
    private String transportNo;
    @ApiModelProperty(value ="优惠券ID",dataType = "Long")
    private Long couponId;
    @ApiModelProperty(value ="发货时间",dataType = "Date")
    private Date deliverTime;
    @ApiModelProperty(value ="订单留言",dataType = "String")
    private String msg;

    @ApiModelProperty(value ="订单状态，字典orderStatus",dataType = "String")
    private String orderStatus;

    @ApiModelProperty(value ="借阅开始时间",dataType = "Date")
    private Date borrowStartTime;

    @ApiModelProperty(value ="借阅结束时间",dataType = "Date")
    private Date borrowEndTime;

    @ApiModelProperty(value ="微信支付服务订单号",dataType = "String")
    private String orderId;

    @ApiModelProperty(value ="微信支付方式，cash,score",dataType = "String")
    private String wxPayType;


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getWxPayType() {
        return wxPayType;
    }

    public void setWxPayType(String wxPayType) {
        this.wxPayType = wxPayType;
    }

    public Date getBorrowStartTime() {
        return borrowStartTime;
    }

    public void setBorrowStartTime(Date borrowStartTime) {
        this.borrowStartTime = borrowStartTime;
    }

    public Date getBorrowEndTime() {
        return borrowEndTime;
    }

    public void setBorrowEndTime(Date borrowEndTime) {
        this.borrowEndTime = borrowEndTime;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }



    //图书订单详细
    private List<BookOrderDetailDto> bookData;
    //会员订单详细
    private CardOrderDetailDto  cardData;


    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getBuyName() {
        return buyName;
    }

    public void setBuyName(String buyName) {
        this.buyName = buyName;
    }

    public String getBuyPhone() {
        return buyPhone;
    }

    public void setBuyPhone(String buyPhone) {
        this.buyPhone = buyPhone;
    }

    public String getBuyAddress() {
        return buyAddress;
    }

    public void setBuyAddress(String buyAddress) {
        this.buyAddress = buyAddress;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }



    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public BigDecimal getRentMoney() {
        return rentMoney;
    }

    public void setRentMoney(BigDecimal rentMoney) {
        this.rentMoney = rentMoney;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Date getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(Date deliverTime) {
        this.deliverTime = deliverTime;
    }

    public BigDecimal getCashPledge() {
        return cashPledge;
    }

    public void setCashPledge(BigDecimal cashPledge) {
        this.cashPledge = cashPledge;
    }

    public BigDecimal getPostage() {
        return postage;
    }

    public void setPostage(BigDecimal postage) {
        this.postage = postage;
    }

    public BigDecimal getDiscountsMoney() {
        return discountsMoney;
    }

    public void setDiscountsMoney(BigDecimal discountsMoney) {
        this.discountsMoney = discountsMoney;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getTransportName() {
        return transportName;
    }

    public void setTransportName(String transportName) {
        this.transportName = transportName;
    }

    public String getTransportNo() {
        return transportNo;
    }

    public void setTransportNo(String transportNo) {
        this.transportNo = transportNo;
    }

    public List<BookOrderDetailDto> getBookData() {
        return bookData;
    }

    public void setBookData(List<BookOrderDetailDto> bookData) {
        this.bookData = bookData;
    }

    public CardOrderDetailDto getCardData() {
        return cardData;
    }

    public void setCardData(CardOrderDetailDto cardData) {
        this.cardData = cardData;
    }
}
